Skip to main content

codepoint

Type

keyword

Summary

Designates the integer identifier(s) associated with a Unicode character.

Syntax

codepoint

Description

Use the codepoint keyword to refer to the integer identifier(s) associated with Unicode character

A codepoint is an integer identifier associted witha a Unicode character. A single character is composed of one or more codepoints.

The hierarchy of the new and altered chunk types is as follows:

byte w of codeunit x of codepoint y of char z of word ...

note

This chunk type is not of general utility.

Examples

get codepoint 1 of tString
get the first codepoint of tString
repeat for each codepoint tCodepoint in tString

function: codepointToNum, numToCodepoint

glossary: keyword

keyword: characters, codeunits, character, codepoints, codeunit, bytes, byte

Compatibility and Support

Introduced

LiveCode 7.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?